PowerTCP Emulation for .NET CF
Option Constructor(Byte[],Int32,Int32)
See Also  Send comments on this topic.
Dart.Emulation Namespace > Option Class > Option Constructor : Option Constructor(Byte[],Int32,Int32)




buffer
Contains option data.
offset
Contains the offset into buffer.
count
Contains the option data count.
Initializes a new instance of Option.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
)
Visual Basic (Usage)Copy Code
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
 
Dim instance As New Option(buffer, offset, count)
C# 
public Option( 
   byte[] buffer,
   int offset,
   int count
)
Managed Extensions for C++ 
public: Option( 
   byte[]* buffer,
   int offset,
   int count
)
C++/CLI 
public:
Option( 
   array<byte>^ buffer,
   int offset,
   int count
)

Parameters

buffer
Contains option data.
offset
Contains the offset into buffer.
count
Contains the option data count.

Remarks

This constructor creates a new instance of Option with State set to OptionState.Off.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.